Real-Time Hardware-In-The-Loop Simulation: Fundamentals & Popular Platforms